package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.OrderHelmetLostLog;

import java.util.List;

/**
 * @author yao
 * @since 2025/2/28 9:36
 */
public interface OrderHelmetLostLogService {
    List<OrderHelmetLostLog> getList();

    OrderHelmetLostLog getById(Integer id);

    void create(OrderHelmetLostLog log);

    void update(OrderHelmetLostLog log);

    void delete(Integer id);

    /**
     * @description: 根据订单号获取头盔丢失日志数量
     * @author: mo.shanyong
     * @date: 2025/3/26 15:45
     * @param: orderNO 订单号
     * @return: int
     */
    int getCountByOrderNO(String orderNO);
}
